<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>行内元素的垂直外边距</title>
  <style>
    span {
      margin: 50px;
      padding: 20px;
      line-height: 100px;
    }
  </style>
</head>

<body>
  <span>span 标签</span>
  <span>span 标签</span>
</body>

</html>